<!DOCTYPE html>
<html>

<meta charset="utf-8">
<head th:include="include :: header">

	<style type="text/css">

	</style>
</head>

<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="pwdForm">

						<input id="pass" name="pass" type="hidden" th:value="${user.password}">

						<div class="form-group">
							<label class="col-sm-4 control-label">当前密码：</label>
							<div class="col-sm-3">
								<input style="border-radius:5px;" type="password" id="pwd" name="pwd"
									   class="form-control" placeholder="请输入当前密码" value="">
							</div>
						</div>

						<div class="form-group" style="margin-top: 20px">
							<label class="col-sm-4 control-label">新密码：</label>
							<div class="col-sm-3">
								<input style="border-radius:5px;" type="password" id="username" name="username"
									   class="form-control" placeholder="输入新密码" required value="">
								<span id="warning3" style="display: none"><font style="color: red;font-size: smaller">密码不能为空</font></span>
							</div>
						</div>

						<div class="form-group" style="margin-top: 20px">
							<label class="col-sm-4 control-label" style="text-align: right"> 确认密码：</label>
							<div class="col-sm-3">
								<input type="password" id="password" name="password" style="border-radius:5px;"
									   class="form-control" placeholder="请再次确认密码" required value="">
								<span id="warning" style="display: none"><font style="font-size: smaller">验证通过</font></span>
								<span id="warning1" style="display: none"><font style="color: red;font-size: smaller">两次密码不一致</font></span>
								<span id="warning2" style="display: none"><font style="color: red;font-size: smaller">密码不能为空</font></span>
							</div>

						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-5">
								<button type="button" class="btn btn-primary" onclick="update()" id="submit" disabled>提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/sys/user/resetPwd.js">
	</script>
</body>

</html>
